package com.gengzp.rpc.model.resp.nacos;

import com.gengzp.rpc.model.dto.nacos.NacosOnlineInstanceDto;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName NacosOnlineInstanceResp
 * @Description nacos在线实例返回实体类
 * @Author gengzp
 * @Date 2025/6/1 0:32
 */
public class NacosOnlineInstanceResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 8037104815628671129L;

    /**
     * 实例数量
     */
    private Integer count;

    /**
     * 实例集合
     */
    private List<NacosOnlineInstanceDto> list;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<NacosOnlineInstanceDto> getList() {
        return list;
    }

    public void setList(List<NacosOnlineInstanceDto> list) {
        this.list = list;
    }

}
